package com.lanou.bean;

import java.util.Date;

public class Roles {
    private Integer id;

    private String name;

    private String roleNo;

    private Date createDate;

    public Roles(Integer id, String name, String roleNo, Date createDate) {
        this.id = id;
        this.name = name;
        this.roleNo = roleNo;
        this.createDate = createDate;
    }

    public Roles() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getRoleNo() {
        return roleNo;
    }

    public void setRoleNo(String roleNo) {
        this.roleNo = roleNo == null ? null : roleNo.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}